package org.zbclan.bf2.rcon.common.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Bf2Property implements IsSerializable {

	private String name;

	private String value;

	private boolean enabled;

	public Bf2Property() {
	}

	public Bf2Property(String name, String value) {
		this.name = name;
		this.value = value;
	}

	@Override
	public String toString() {
		return this.value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public boolean isEnabled() {
		return enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
}
